screentop

Code for Generating Galactic Spectra

This model, while simple, should still convey some of the key aspects of galactic spectra. The code as written takes several inputs to generate a singular “galaxy” spectrum. These inputs are basic physical properties of the galaxy which is to be generated. Notably, this includes the number of stars of a given type in the synthetic galaxy (currently it supports the major sub-types O, B, A, F, G, K, M), as well as distance to the source.

Sum to ~1.0
Reset